package cn.stylefeng.guns.modular.bms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 学校信息
 * </p>
 *
 * @author bms
 * @since 2022-05-24
 */
@TableName("bms_school")
public class School implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学校编号
     */
    @TableField("cid")
    private String cid;

    /**
     * 学校名称
     */
    @TableField("name")
    private String name;

    /**
     * 学校层次
     */
    @TableField("level")
    private String level;

    /**
     * 所在省份
     */
    @TableField("location")
    private String location;

    /**
     * 城市
     */
    @TableField("city")
    private String city;

    /**
     * 是否211
     */
    @TableField("is_211")
    private Integer is211;

    /**
     * 是否985
     */
    @TableField("is_985")
    private Integer is985;

    /**
     * 是否双一流
     */
    @TableField("is_double_a")
    private Integer isDoubleA;

    /**
     * 分类编号
     */
    @TableField("type_id")
    private String typeId;

    /**
     * 图标
     */
    @TableField("img")
    private String img;

    /**
     * 排名
     */
    @TableField("rank")
    private String rank;

    /**
     * 招生办官网https://www.baokaodaxue.com/bkdx/Second_Cyclopedia/getList?keyword=&dq=&fw=&zd=&bz=&page=1&pagesize=10000
     */
    @TableField("site")
    private String site;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 租户编号
     */
    @TableField("store_id")
    private Integer storeId;

    /**
     * 状态
     */
    @TableField("status")
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Integer getIs211() {
        return is211;
    }

    public void setIs211(Integer is211) {
        this.is211 = is211;
    }

    public Integer getIs985() {
        return is985;
    }

    public void setIs985(Integer is985) {
        this.is985 = is985;
    }

    public Integer getIsDoubleA() {
        return isDoubleA;
    }

    public void setIsDoubleA(Integer isDoubleA) {
        this.isDoubleA = isDoubleA;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getRank() {
        return rank;
    }

    public void setRank(String rank) {
        this.rank = rank;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "School{" +
        "id=" + id +
        ", cid=" + cid +
        ", name=" + name +
        ", level=" + level +
        ", location=" + location +
        ", city=" + city +
        ", is211=" + is211 +
        ", is985=" + is985 +
        ", isDoubleA=" + isDoubleA +
        ", typeId=" + typeId +
        ", img=" + img +
        ", rank=" + rank +
        ", site=" + site +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", storeId=" + storeId +
        ", status=" + status +
        "}";
    }
}
